<?	$out=array();
	if (!empty($sections)){
		foreach ($sections as $section){
			$out[]=$section->toArray();
		}
	}
	echo json_encode($out);